<html>
    <head>  
    <title>网页标题</title>
    <meta charset="utf-8" />
    <style type="text/css">
       .mybody{
       width:500px;
       height:450px;
       margin:50px;
       background-color:#ff0;
       position:absolute;
       left:150px;
       bottom:20px;
       }
       .p1{
       width:200px;
       height:200px;
       background-color:red;
       }
       .p2{
       width:200px;
       height:200px;
       background-color:#2f0;
       position:absolute;
       left:100px;
       top:100px;
       }
      </style>
    </head>
    <body>
        <div class="mybody">
    	     <div class="p1"></div>
    	     <div class="p2"></div>
        </div>
    </body>
</html>
